/* 注册容器样式 */
.registerContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f5f5f5;
  padding: 20px;
}

.registerBox {
  width: 100%;
  max-width: 400px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
}

.registerTitle {
  font-size: 24px;
  color: #333;
  margin-bottom: 30px;
}

/* 表单样式 */
.registerForm {
  margin-bottom: 20px;
}

.formGroup {
  margin-bottom: 20px;
}

.formGroup input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.formGroup input:focus {
  border-color: #4a90e2;
  outline: none;
}

.inputLabel {
  display: block;
  text-align: left;
  margin-bottom: 6px;
  font-size: 14px;
  color: #555;
}

.registerButton {
  width: 100%;
  padding: 12px;
  background-color: #4a90e2;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 10px;
}

.registerButton:hover {
  background-color: #3a80d2;
}

.loginLink {
  font-size: 14px;
  color: #666;
  margin-top: 20px;
}

.loginLink a {
  color: #4a90e2;
  text-decoration: none;
  margin-left: 5px;
}

/* 错误信息样式 */
.errorMessage {
  background-color: #ffebee;
  color: #d32f2f;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 14px;
}

.successMessage {
  background-color: #e8f5e9;
  color: #2e7d32;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 14px;
}

.fieldError {
  color: #d32f2f;
  font-size: 12px;
  margin-top: 5px;
  text-align: left;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .registerBox {
    padding: 20px;
  }
}

@media (max-width: 360px) {
  .registerTitle {
    font-size: 20px;
  }

  .formGroup input {
    padding: 10px 12px;
  }

  .registerButton {
    padding: 10px;
  }
} 